<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> 
<html class="no-js"> <!--<![endif]-->
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title>Cortech</title>
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width">

        <link rel="stylesheet" href="/css/normalize.css">
        <link rel="stylesheet" href="/css/main.css">
        <link href='http://fonts.googleapis.com/css?family=Muli:300,400,300italic,400italic' rel='stylesheet' type='text/css'>
        <link href='http://fonts.googleapis.com/css?family=Droid+Sans:400,700' rel='stylesheet' type='text/css'>
        <script src="/js/vendor/modernizr-2.6.2.min.js"></script>
    </head>
    <body>
        <!--[if lt IE 8]>
            <p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
        <![endif]-->

        <header class="header center clearfix">
          <div class="logoContainer">
            <a href="<?php echo url_for('@homepage'); ?>" class="logo"></a>
          </div>
          <div class="rightContent clearfix">
            <div class="language clearfix">
              <span><?php echo __('Idiomas'); ?></span>
              <a href="<?php echo url_for('@set_language?sf_culture=es');?>"><button class="spanish"></button></a>
              <a href="<?php echo url_for('@set_language?sf_culture=en');?>"><button class="english"></button></a>
            </div>
            <nav class="navigation clearfix">
              <ul>
                <?php $route = $sf_user->getAttribute('route'); ?>
                <li>
                  <a <?php if($route == 'homepage') echo 'class="active"'; ?> href="<?php echo url_for('@homepage') ?>">
                    <?php echo __('Home'); ?>
                  </a>
                </li>
                <li class="left_space">
                  <a <?php if($route == 'who') echo 'class="active"' ?> href="<?php echo url_for('@who') ?>">
                    <?php echo __('Who we are'); ?>
                  </a>
                </li>
                <li class="left_space">
                  <a <?php if($route == 'contact') echo 'class="active"'; ?> href="<?php echo url_for('@contact') ?>">
                    <?php echo __('Contact'); ?>
                  </a>
                </li>
                <li class="left_space">
                  <a <?php if($route == 'clients') echo 'class="active"'; ?> href="<?php echo url_for('@clients') ?>">
                    <?php echo __('Clients'); ?>
                  </a>
                </li>
              </ul>
            </nav>
          </div>
        </header>
        <div class="content center clearfix">
          <aside class="left_side">
              <div class="left_side_top"></div>
              <div class="left_side_bot">
                <div class="social">
                  <a class="facebook" href="#"></a>
                  <a class="twitter" href="#"></a>
                  <a class="linkedin" href="#"></a>
                </div>
              </div>
          </aside>
          <?php echo $sf_content; ?>
          <aside class="right_side"></aside>
        </div>
        <footer class="footer center clearfix">
          <div class="copyRight">
            <small>Cortech S.A copyright©</small>
          </div>
          <div class="rightFoter">
            <div class="footer_logo"></div>
          </div>
        </footer>

        <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
        <script>window.jQuery || document.write('<script src="js/vendor/jquery-1.9.1.min.js"><\/script>')</script>
        <script src="/js/plugins.js"></script>
        <script src="/js/main.js"></script>

        <?php /*
          <!-- Google Analytics: change UA-XXXXX-X to be your site's ID. -->
          <script>
              var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview']];
              (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
              g.src='//www.google-analytics.com/ga.js';
              s.parentNode.insertBefore(g,s)}(document,'script'));
          </script>
        */ ?>
    </body>
</html>
